package com.cb.myzhxy.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cb.myzhxy.pojo.LoginForm;
import com.cb.myzhxy.pojo.Teacher;

/**
*
*/
public interface TeacherService extends IService<Teacher> {

    /**
     * 教师登录
     * @param loginForm
     * @return
     */
    Teacher login(LoginForm loginForm);

    Teacher getTeacherById(Long userId);

    //获取教师信息,分页带条件
    IPage<Teacher> getTeachersByOpr(Page<Teacher> page, Teacher teacher);
}
